<!--头部 start-->
<div class="xy-header">
    <div class="xyhd-body clearfix">
        <div class="hdlogo fl"><a href="<?php echo C('SITE_URL'); ?>"><img src="__PUBLIC__/Home/img/xylogo.png" alt="logo"></a></div>
        <div class="hdhandle fr">
                    <span class="hdinput clearfix">
                        <input type="text" placeholder="" class="hdinput-frame fl"/>
                        <a href="javascript:void(0);" class="hdsearch fl">搜索</a>
                    </span>
            <span class="hdlink">
                        <a href="javascript:void(0);">登陆</a>
                        <span>|</span>
                        <a href="javascript:void(0);">注册</a>
                    </span>
            <span class="hdmy">
                        <a href="javascript:void(0);">我的向阳院<i class="arrowicon"></i></a>
                    </span>
        </div>
    </div>
</div>
<!--头部 end-->
<!--导航栏 start-->
<div class="xy-navs">
    <div class="xynav-wrap">
        <div class="xynav-body">
            <div class="xynav">
                <ul class="navlist clearfix">
                    <li><a href="<?php echo C('SITE_URL'); ?>" <?php if ($nav_flag == 'index') { ?>class="on"<?php } ?>>首页</a></li>
                    <li>
                    <a href="javascript:void(0);" <?php if ('about' == $_GET['nav_flag']) { ?>class="on"<?php } ?>>了解向阳</a>
                        <dl class="navsub">
                            <dd><a href="<?php echo U('About/detail', array('nav_flag' => 'about', 'cat1_id' => 1, 'cat_id' => 2)); ?>">向阳情怀</a></dd>
                            <dd><a href="<?php echo U('About/detail', array('nav_flag' => 'about', 'cat1_id' => 1, 'cat_id' => 19)); ?>">项目简介</a></dd>
                            <dd><a href="<?php echo U('About/detail', array('nav_flag' => 'about', 'cat1_id' => 1, 'cat_id' => 43)); ?>">全景看房</a></dd>
                            <dd><a href="<?php echo U('About/detail', array('nav_flag' => 'about', 'cat1_id' => 1, 'cat_id' => 23)); ?>">品牌实力</a></dd>
                            <dd><a href="<?php echo U('About/contactUs', array('nav_flag' => 'about', 'sidebar_flag' => 'about', 'cat1_id' => 1)); ?>">联系我们</a></dd>
                        </dl>
                    </li>
                    <li>
                        <a href="javascript:void(0);" <?php if ('news' == $_GET['nav_flag']) { ?>class="on"<?php } ?>>向阳院里</a>
                        <dl class="navsub">
                            <dd><a href="<?php echo U('News/index', array('nav_flag' => 'news', 'cat_id' => 2)); ?>">向阳新闻</a></dd>
                            <dd><a href="<?php echo U('News/index', array('nav_flag' => 'news', 'cat_id' => 3)); ?>">向阳活动</a></dd>
                            <dd><a href="<?php echo U('News/photo', array('nav_flag' => 'news', 'sidebar_flag' => 'photo')); ?>">向阳瞬间</a></dd>
                            <dd><a href="<?php echo U('News/ganyan', array('nav_flag' => 'news', 'sidebar_flag' => 'ganyan')); ?>">向阳感言</a></dd>
                        </dl>
                    </li>
                    <li>
                        <a href="javascript:void(0);" <?php if ('service' == $_GET['nav_flag']) { ?>class="on"<?php } ?>>特色服务</a>
                        <dl class="navsub">
                            <dd><a href="<?php echo U('About/detail', array('nav_flag' => 'service', 'cat1_id' => 11)); ?>">文娱社交</a></dd>
                            <dd><a href="<?php echo U('About/detail', array('nav_flag' => 'service', 'cat1_id' => 11, 'cat_id' => 28)); ?>">健康膳食</a></dd>
                            <dd><a href="<?php echo U('About/detail', array('nav_flag' => 'service', 'cat1_id' => 11, 'cat_id' => 31)); ?>">养护管理</a></dd>
                        </dl>
                    </li>
                    <li>
                        <a href="javascript:void(0);" <?php if ('activity' == $_GET['nav_flag']) { ?>class="on"<?php } ?>>活动预约</a>
                        <dl class="navsub">
                            <dd><a href="<?php echo U('Activity/activity', array('nav_flag' => 'activity', 'menu_flag' => 'activity')); ?>">活动公告</a></dd>
                            <dd><a href="<?php echo U('Activity/apply', array('nav_flag' => 'activity', 'menu_flag' => 'apply')); ?>">活动报名</a></dd>
                            <dd><a href="<?php echo U('Activity/checkInApply', array('nav_flag' => 'activity', 'menu_flag' => 'checkInApply')); ?>">入住预约</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<!--导航栏 end-->